package com.xy.learn.springboot.helloworld.config;

import com.xy.learn.springboot.helloworld.service.HelloService;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class MyConfig {

    @Bean
    public HelloService helloService2() {
        return new HelloService();
    }
}
